

<template>
    <!-- <van-cell-group title="分组1">
            <van-cell title="单元格" value="内容" />
    </van-cell-group>
    <van-cell-group title="分组2">
            <van-cell title="单元格" value="内容" />
    </van-cell-group> -->
    <van-cell-group title="用户设置">
        <van-cell title="退出登录" is-link @click="onExit" />
    </van-cell-group>

</template>
  
<script>
// @ is an alias to /src
import {store} from "../utils/store.js"
import {getBirthday} from "../utils/time.js"

export default {
  name: 'SettingView',
  data(){
    return{
        store,
    }
  },
  methods:{
    onExit(){
        store.queryFlag=false
        store.note=false
        store.info=false
        store.share=false
        console.log(store.note)
        this.$router.replace("/login")
    }
  }
}
</script>